﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Factory>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	编辑公司信息
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div id="dolphincontainer">
	    <div id="dolphinnav">
	        <ul>
	            <li><a href="/Factory/Index"><span>公司管理</span></a></li>
                <li><a href="javascript:return(false);" class="current"><span>编辑公司信息</span></a></li>
	        </ul>
	    </div>
	</div>


    <table class="tableCss" cellspacing="1" cellpadding="0" align="center" border="0" style="margin-top:10px">
        <tr>
            <td class="row1" align="left">
            <% using (Html.BeginForm(new { enctype = "multipart/form-data" }))
            {%>
            <%: Html.ValidationSummary(true) %>
        
            <%: Html.HiddenFor(model => model.Id) %>
            
            <div class="editor-label">
                堆场名称:
                <%: Html.TextBoxFor(model => model.Name) %>
                <%: Html.ValidationMessageFor(model => model.Name) %>
            </div>
            
            <div class="editor-label" style="margin-top:25px">
                堆场描述:
                <%: Html.TextAreaFor(model => model.Description, new { cols = "80" , rows = "20" })%>
                <%: Html.ValidationMessageFor(model => model.Description) %>
            </div>

            <div style="margin-top:25px">
                <input type="submit" value="提 交" />
            </div>
            <% } %>
	        </td>
	    </tr> 
    </table>
</asp:Content>
